import com.dmotiko.general.*
import com.dmotiko.chabeli.*
import com.dmotiko.util.*

class ChabeliNavButton
extends WebSiteNavButton {
	
	private var mcBack:MovieClip;
	private var mcLabel:MovieClip;
	
	private function ChabeliNavButton() {
		super();
		MovieEffects.forward();
		MovieEffects.rewind();
	}
	
	public function onRollOver() {
		super.onRollOver();
		if(bActive) return;
		mcLabel.gotoAndStop(2);
		mcBack.effect.stopEffect();
		mcBack.effect =	mcBack.forward();
	}
	public function onRollOut() {
		super.onRollOut();
		if(bActive) return;
		mcLabel.gotoAndStop(1);
		mcBack.effect.stopEffect();
		mcBack.effect = mcBack.rewind();
	}
	
	
}